Use PESetFormula to change the specified formula to the formula string you supply as a parameter. This function will only change the text of a formula which already exists in the report; you cannot use it to add a new formula. This function can be used by itself to replace the formula string for a known formula.
This function can also be used as one of a series of functions (PEGetFormula; PEGetHandleString; and PESetFormula). The series can be used in a Custom
BOOL CRPE_API PESetFormula (
short printJob,
const char *formulaName,
const char FAR *formulaString );
Declare Function PESetFormula Lib "crpe32.dll" (ByVal printJob As Integer, ByVal FormulaName As String, ByVal FormulaString As String) As Integer
function PESetFormula (
printJob: Word;
formulaName: PChar;
formulaString: PChar
): Bool stdcall;
EXTERN CLOGICAL PESetFormula (CWORD, CSTRING, CSTRING) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |